/*
 * testerSwap.cpp
 *
 *  Created on: Sep 12, 2011
 *      Author: dgdiniz
 */

#include <iostream>
#include <stdio.h>
#include "utility/utility.hpp"

using namespace std;


template< class T >
void    RunTests(T a, T b)
{
	cout << "TESTER-SWAP ---  Before Swap: a=" << a << " , b=" << b << endl;
	swap(a,b);
	cout << "TESTER-SWAP ---  After Swap:  a=" << a << " , b=" << b << endl;
}

void testerSwap()
{
	cout << "\n\n\n\nTESTER-SWAP ---  Testing swap\n";
	RunTests(1,2);
	RunTests("Douglas","Diniz");
	cout << "TESTER-SWAP ---  FINISHED!\n\n\n\n";
}

